/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pos.Driving.Task;

import java.util.*;
import pos.IModeController;

/**
 *
 * @author plus
 */
public abstract class Task {
    IModeController myController;
    HashMap<String, Double> subPoints;      
    Double playerCounter[];   
    private String taskName, taskDesc;

    public Task(String taskName, String taskDesc) {
        this.taskName = taskName;
        this.taskDesc = taskDesc;
    }

    public String getTaskDesc() {
        return taskDesc;
    }

    public String getTaskName() {
        return taskName;
    }

    abstract void initProcess();
    abstract int isReachConditions();                         // return 0 for no conditions reached; or a positive int for condition ID
    abstract void postProcess(int conditionID);
}
